package com.mdd.common.entity.yangyangLeadingEnterprise;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Date;

@Data
@ApiModel("轮播图实体")
@TableName("t_app_banner")
public class TAppBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    @ApiModelProperty(value = "")
    private Integer sort;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "")
    private Date createTime;

    @ApiModelProperty(value = "")
    private Date updateTime;

    @ApiModelProperty(value = "展示类型")
    private Integer showType;

    public static class TYPE{
        //图片
        public static final Integer type_pic = 1;
        //视频
        public static final Integer type_video = 2;
    }

    public static class SHOWTYPE{
        //首页
        public static final Integer banner_index = 1;

        //领企管家
        public static final Integer leading_enterprise_manager = 2;
    }

}